package com.bootssm.service;

import com.bootssm.entity.User;
import com.bootssm.entity.UserLogin;
import com.bootssm.entity.UserVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: UserService
 * @description: TODO 类描述
 * @author: Mr.Song
 * @date: 2024/01/09 16:10
 **/
public interface UserService {

    public List<User> loninByUsernameAndPassword(UserLogin userLogin);


    public List<User> findAllUser(UserVO userVO);//查找所有用户或者搜索用户


    public User findUserByid(String userid);//根据ID查找用户

    public void addUser(User user);//添加用户

    public void updateUser(User user);//修改

    public void deleteUserById(String userid);//删除
    public Integer getCount(UserVO userVO);
}
